/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DOAN.DAL;
using DOAN.DO;
/// <summary>
/// Summary description for CT_MonhocBL
/// </summary>
namespace DOAN.BL 
{
    public class CT_MonhocBL 
    {
    	#region Private Variables
		CT_MonhocDAL objCT_MonhocDAL;
		#endregion
		
        #region Public Constructors
        public CT_MonhocBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objCT_MonhocDAL=new CT_MonhocDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(CT_MonhocDO objCT_MonhocDO)
        {
            return objCT_MonhocDAL.Insert(objCT_MonhocDO);
        }

        public DataTable GetAllByUser(string tk)
        {
            return objCT_MonhocDAL.GetAllByUser(tk);
        }
        public DataTable GetByUser(string tk)
        {
            return objCT_MonhocDAL.GetByUser(tk);
        }
        public DataTable GetByMon(string tk)
        {
            return objCT_MonhocDAL.GetByMon(tk);
        }
        public int Update(CT_MonhocDO objCT_MonhocDO)
        {
             return objCT_MonhocDAL.Update(objCT_MonhocDO);

        }

        public int Delete(CT_MonhocDO objCT_MonhocDO)
        {
             return objCT_MonhocDAL.Delete(objCT_MonhocDO);

        }
        public DataTable Timkiem(string tk)
        {
            return objCT_MonhocDAL.Timkiem(tk);
        }
         public int DeleteAll()
        {
             return objCT_MonhocDAL.DeleteAll();
        }

        public CT_MonhocDO Select(CT_MonhocDO objCT_MonhocDO)
        {
            return objCT_MonhocDAL.Select(objCT_MonhocDO);
        }

        public ArrayList SelectAll1( )
        {
         return objCT_MonhocDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objCT_MonhocDAL.SelectAll();
        }


     
#endregion          
    
    }

}
